.embed-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 55%;
  overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrapper {
  position: relative;
  padding-bottom: 200%;
  transform: translateY(-35.95%);
}

#overlay-text {
  position: absolute;
  z-index: 99;
  text-align: center;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  height: 100%;
}

#overlay-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 1);
}

/******************
* SLIDER (MOBILE)
******************/

#slider-base img {
  object-fit: cover;
  height: 100vh;
}

#slider-base img.center {
  object-position: center;
}

#slider-base img.top {
  object-position: top;
}

#slider-base img.bottom {
  object-position: bottom;
}

#slider-base .prev {
  left: 25px;
}

#slider-base .next {
  right: 25px;
}

#slider-base .prev,
#slider-base .next {
  z-index: 1;
}

#slider-base .prev,
#slider-base .next {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
}

#slider-base .overlay {
  position: absolute;
  /* bottom: 15%; */
  left: 0;
  color: white;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  flex-direction: column;
}

#slider-base .overlay h2 {
  /* text-transform: uppercase; */
  /* font-weight: 700; */
  font-weight: 700;
  margin-bottom: 0;
  font-size: 4rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  width: 400px;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
}

#slider-base .overlay h3 {
  font-size: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-style: italic;
  font-weight: 400;
}

#slider-base .btn-primary {
  background-color: rgba(89, 73, 56, 0.7);
  letter-spacing: 6px;
  font-weight: 600;
}

.bottom-overlay {
  width: 570px;
  padding-bottom: 30px;
  padding-top: 30px;
  border-bottom: 5px solid #ffffff;
  border-left: 5px solid #ffffff;
  padding-left: 10p;
  border-right: 5px solid #ffffff;
}

.top-overlay {
  width: 570px;
  border-right: 5px solid #ffffff;
  position: relative;
}

.top-overlay::after {
  position: absolute;
  content: '';
  background-color: #ffffff;
  top: 0;
  right: 0;
  height: 5px;
  width: 80px;
}

#slider-base .btn-primary:hover {
  border: 0;
}

@media (max-width: 769px) {

  .top-overlay,
  .bottom-overlay {
    width: auto !important;
    border: 0;
  }

  .top-overlay::after {
    display: none;
  }

  #slider-base .overlay h2 {
    text-align: center;
    font-size: 3rem;
  }

}